package sameClasses;

import java.io.Serializable;


public class NetworkPacket implements Serializable {
	private static final long serialVersionUID = 7542006660098535261L;
	private int pluginId;
	private int methodenId;
	private User user;
	private Object data;
  
  public NetworkPacket(User user, int pluginId, int methodenId, Object data) {
    this.user = user;
    this.pluginId = pluginId;
    this.methodenId = methodenId;
    this.data = data;
  }

  public User getUser() {
    return this.user;
  }
  
  public int getpluginId() {
    return this.pluginId;
  }
  
  public int getmethodenId() {
    return this.methodenId;
  }
  
  public Object getData() {
    return this.data;
  }
}